import { get, post, put, del } from '@/utils/http/request'
import { R, P } from '@/utils/http/type'
export * from './types/good-list'

import { GoodsFilterType, GoodListDetailType } from './types/good-list'

export const getGoodsListInfo = (params: GoodsFilterType) => {
  return get<R<GoodListDetailType>>(
    'http://43.139.98.171:3003/store/goods/list',
    params
  )
}
